package com.dingreading.cloud.web.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类。
 *
 * @author Administrator
 * @since 2024-03-12
 */
@Data
@Table(value = "reading_student_punch")
public class ReadingStudentPunch implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    private Long id;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(onInsertValue = "now()")
    private Date addTime;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(onInsertValue = "now()", onUpdateValue = "now()")
    private Date editTime;

    /**
     * 公司uid
     */
    @ApiModelProperty(value = "公司uid")
    private String corpUid;

    /**
     * 门店uid
     */
    @ApiModelProperty(value = "门店uid")
    private String storeUid;

    /**
     * 门店名称
     */
    @ApiModelProperty(value = "门店名称")
    private String storeName;

    /**
     * 学生uid
     */
    @ApiModelProperty(value = "学生uid")
    private String studentUid;

    /**
     * 真实全名
     */
    @ApiModelProperty(value = "真实全名")
    private String fullName;

    /**
     * 家长联系电话
     */
    @ApiModelProperty(value = "家长联系电话")
    private String mob;

    /**
     * 题目序号
     */
    @ApiModelProperty(value = "itemNum")
    private Integer itemNum;

    /**
     * 渠道标识
     */
    @ApiModelProperty(value = "渠道标识")
    private String channelUid;

    /**
     * 渠道名称
     */
    @ApiModelProperty(value = "渠道名称")
    private String channelName;

    /**
     * 打卡文件类型
     */
    @ApiModelProperty(value = "打卡文件类型")
    private Integer fileType;

    /**
     * 打卡文件地址
     */
    @ApiModelProperty(value = "打卡文件地址")
    private String url;

    /**
     * 修改次数
     */
    @ApiModelProperty(value = "修改次数")
    private Integer mdyNum;
}
